package com.xebest.web.form;

import com.xebest.web.form.base.BaseForm;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

public class XeVenFinPurchPayForm extends BaseForm {
    /**
     * 商户编码
     */
    private String userCode;
    //采购类型
    private Integer purchType;
    //订单状态
    private Integer orderStatus;

    /**
     * 付款结算单编码
     */
    @NotNull(message = "付款单号不可为空")
    private String psettleCode;

    /**
     * 采购单标识
     */
    @NotNull(message = "采购单号不可为空")
    private String purchId;

    /**
     * 订单标识
     */
    private String orderId;

    /**
     * 采购货款状态 1：未付款；2：付款中；3：已付款
     */
    private Integer psettleStatus;

    /**
     * 驳回状态 1：正常；2：被驳回
     */
    private Integer rejectStatus;

    /**
     * 发起结算时间
     */
    private String startBeforeSettleDate;
    private String endBeforeSettleDate;

    /**
     * 结算时间
     */
    private String startSettleDate;
    private String endSettleDate;
    //采购状态
    private String purchStatus;
    //供应商名称
    private String supplierName;
    //发货时间
    private String startTime;
    private String endTime;

    private String[] fieldArr;

    private String[] psettleCodeArr;//发起结算付款单编码

    private String[] pbCodeArr;
    private String[] supplierCodeArr;//供应商编码数组
    //采购入库仓库ID
    private String storeId;

    private Integer timeType;

    private BigDecimal settleAccountsAmount;

    private List<String> pSettleCodeList;

    private String selfSettleCode;//结算单号


    public String getSelfSettleCode() {

        return selfSettleCode;
    }

    public void setSelfSettleCode(String selfSettleCode) {

        this.selfSettleCode = selfSettleCode;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getPurchId() {
        return purchId;
    }

    public void setPurchId(String purchId) {
        this.purchId = purchId == null ? null : purchId.trim();
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public Integer getRejectStatus() {
        return rejectStatus;
    }

    public void setRejectStatus(Integer rejectStatus) {
        this.rejectStatus = rejectStatus;
    }

    public String getStartBeforeSettleDate() {

        return startBeforeSettleDate;
    }

    public void setStartBeforeSettleDate(String startBeforeSettleDate) {

        this.startBeforeSettleDate = startBeforeSettleDate;
    }

    public String getEndBeforeSettleDate() {

        return endBeforeSettleDate;
    }

    public void setEndBeforeSettleDate(String endBeforeSettleDate) {

        this.endBeforeSettleDate = endBeforeSettleDate;
    }

    public String getStartSettleDate() {

        return startSettleDate;
    }

    public void setStartSettleDate(String startSettleDate) {

        this.startSettleDate = startSettleDate;
    }

    public String getEndSettleDate() {

        return endSettleDate;
    }

    public void setEndSettleDate(String endSettleDate) {

        this.endSettleDate = endSettleDate;
    }

    public String getPurchStatus() {

        return purchStatus;
    }

    public void setPurchStatus(String purchStatus) {

        this.purchStatus = purchStatus;
    }

    public Integer getPurchType() {

        return purchType;
    }

    public void setPurchType(Integer purchType) {

        this.purchType = purchType;
    }

    public String getSupplierName() {

        return supplierName;
    }

    public void setSupplierName(String supplierName) {

        this.supplierName = supplierName;
    }

    public String[] getFieldArr() {

        return fieldArr;
    }

    public void setFieldArr(String[] fieldArr) {

        this.fieldArr = fieldArr;
    }

    public Integer getOrderStatus() {

        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {

        this.orderStatus = orderStatus;
    }

    public String getPsettleCode() {

        return psettleCode;
    }

    public void setPsettleCode(String psettleCode) {

        this.psettleCode = psettleCode;
    }

    public Integer getPsettleStatus() {

        return psettleStatus;
    }

    public void setPsettleStatus(Integer psettleStatus) {

        this.psettleStatus = psettleStatus;
    }

    public String[] getPsettleCodeArr() {

        return psettleCodeArr;
    }

    public void setPsettleCodeArr(String[] psettleCodeArr) {

        this.psettleCodeArr = psettleCodeArr;
    }

    public String[] getPbCodeArr() {

        return pbCodeArr;
    }

    public void setPbCodeArr(String[] pbCodeArr) {

        this.pbCodeArr = pbCodeArr;
    }

    public String getStartTime() {

        return startTime;
    }

    public void setStartTime(String startTime) {

        this.startTime = startTime;
    }

    public String getEndTime() {

        return endTime;
    }

    public void setEndTime(String endTime) {

        this.endTime = endTime;
    }

    public Integer getTimeType() {

        return timeType;
    }

    public void setTimeType(Integer timeType) {

        this.timeType = timeType;
    }

    public BigDecimal getSettleAccountsAmount() {

        return settleAccountsAmount;
    }

    public void setSettleAccountsAmount(BigDecimal settleAccountsAmount) {

        this.settleAccountsAmount = settleAccountsAmount;
    }

    public List<String> getpSettleCodeList() {

        return pSettleCodeList;
    }

    public void setpSettleCodeList(List<String> pSettleCodeList) {

        this.pSettleCodeList = pSettleCodeList;
    }

    public String getStoreId() {

        return storeId;
    }

    public void setStoreId(String storeId) {

        this.storeId = storeId;
    }

    public String[] getSupplierCodeArr() {

        return supplierCodeArr;
    }

    public void setSupplierCodeArr(String[] supplierCodeArr) {

        this.supplierCodeArr = supplierCodeArr;
    }

}